package controller.comparator;

import java.util.Comparator;

import entity.Course;

public class CourseComparatorByCourseCode implements Comparator<Course> {

	@Override
	public int compare(Course o1, Course o2) {
		return AlphanumComparator.compareTo(o1.getCourseCode(),
				o2.getCourseCode());
	}

}
